package com.heima.apis.apuser;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lzq
 * @data 2023/5/16 18:49
 */
@FeignClient("leadnews-user")
public interface IUserClient {

    @PostMapping("/api/v1/get")
    public ResponseResult getUser( @RequestParam("id") Integer id);
}
